<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zone_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zone_id" data-rule="required" data-source="tongcheng/zone/index" class="form-control selectpage" name="row[zone_id]" type="text" value="{$row.zone_id|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_rider_enter')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_rider_enter" data-rule="required" class="form-control selectpicker" name="row[open_rider_enter]">
                {foreach name="openRiderEnterList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_rider_enter"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_rider_enter_audit')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_rider_enter_audit" data-rule="required" class="form-control selectpicker" name="row[open_rider_enter_audit]">
                {foreach name="openRiderEnterAuditList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_rider_enter_audit"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('open_zone_delivery_fee_rate')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-open_zone_delivery_fee_rate" data-rule="required" class="form-control selectpicker" name="row[open_zone_delivery_fee_rate]">
                {foreach name="openZoneDeliveryFeeRateList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_zone_delivery_fee_rate"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group" data-favisible="open_zone_delivery_fee_rate=1">
      <label class="control-label col-xs-12 col-sm-2">{:__('zone_delivery_fee_rate')}:</label>
      <div class="col-xs-12 col-sm-8">
        <input id="c-zone_delivery_fee_rate" class="form-control" name="row[zone_delivery_fee_rate]" type="number" step="0.01" value="{$row.zone_delivery_fee_rate|htmlentities}">
        <p class="help-block">
          * 修改区域的费率，将同步更新该区域下所有司机的费率
        </p>
      </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
